Repository navigation
feat: solve_ticket for a teammate's own agent, with get_session_brief (replaces #9) - #13
Closed
boehlerlukas wants to merge 11 commits into
Closed
boehlerlukas wants to merge 11 commits into
boehlerlukas wants to merge 11 commits into
Conversation
Moved from the private archive repo (PR #116 there). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ent-workflow route
The Server serves a session's brief on GET /gleapcode/sessions/{id}/agent-workflow
without a kind, as Markdown in `markdown` (`brief` is its structured form).
There is no agent-brief route. The required behaviour changed, so this test changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Server has no agent-brief route: it serves a session's brief on
GET /gleapcode/sessions/{id}/agent-workflow without a kind, as Markdown in
`markdown`. get_session_brief now calls that route and returns that text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ain's tests do Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o the customer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The instruction text and five tool texts no longer state their own rule for customer messages and ticket ownership: they point at the session's brief and fall back to asking first. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Instruction rules 1-2 keep one text: a kickoff that names a session calls get_session_brief first, the brief decides ownership and customer messages (a code-fix session never sends), and without a rule in the brief the agent asks its operator first. README's send_message and draft_reply_to_composer rows follow the brief's reply rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Closing in favour of #14 (branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces #9 (
operator/session-brief, merged in) and adds the whole-ticket hand-off for a teammate's own agent. Merged withmainas of today.solve_ticketprompt: a teammate's own agent (Claude Code, Codex, Cursor, …) takes the whole ticket with Gleap's task prompt. It readsget_session_brieffirst: the brief carries the team rules and the reply rule (hardTickets.customerReply: send or ask first).get_session_brief: the session's brief, includingantigravity. One combined text for rules 1–2: the session owns the ticket, only the holder writes to the customer, new messages are read first.handoffKind: 'solve'onPOST /gleapcode/sessions(GleapSDK/Server#3349).Next: the engineering plan (https://claude.ai/artifact/QemxcAY7aoTiSoPktZRHWp, step 3) replaces the three hand-written prompts (
fix_ticket,answer_ticket,solve_ticket) withlist_skills/get_skill, served from one SKILL.md source on the Server, so an outside agent works with the skills the workspace edited. Step 7 applies the workspace rules (allow, ask first, never) to tool calls that come through the MCP.Checked:
npm run build,npm run typecheck,npm test(all pass). Not run against a live Gleap with a model.🤖 Generated with Claude Code